Skip to content

bug: Fix edge cases in array_slice#14489

Merged
jonahgao merged 1 commit intoapache:mainfrom
jkosh44:array-slice-edge
Feb 6, 2025
Merged

bug: Fix edge cases in array_slice#14489
jonahgao merged 1 commit intoapache:mainfrom
jkosh44:array-slice-edge

Conversation

@jkosh44
Copy link
Contributor

@jkosh44 jkosh44 commented Feb 4, 2025

This commit fixes the following edge cases in the array_slice function so that it's semantics match DuckDB:

Which issue does this PR close?

Are these changes tested?

Yes

Are there any user-facing changes?

Yes, the behavior of array_slice has changed.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

array_slice can't correctly handle NULL parameters or some edge cases

3 participants